package day09;
/*
 * 可变形参
 * 5.0新增
 * 
 */
public class MethonArgsTest {
	
	public static void main(String[] args) {
		MethonArgsTest test = new MethonArgsTest();
		test.show(1);
		test.show("hello");
		test.show("ge","gie");
		test.show();
	}
	
	public void show(int i){
		
	}
	public void show(String s){
		System.out.println("show(String)");
	}
	public void show(String ...strs){
		System.out.println(" show(String ...strs)");
	}
//	public void show(String[] strs){
//		System.out.println(" show(String ...strs)");
//	}
}
